package com.yanqu.road.entity.cricket.court.log;

import java.util.Date;

public class LogCricketCourtRoundRank {

    private int round;

    private long serverId;

    private long userId;

    private int courtId;

    private int groupId;

    private long score;

    private String param = "";

    private int rank;

    /**
     * 晋级类型 0 淘汰，1不变，2晋级
     */
    private int changeType;

    private Date addTime;

    public LogCricketCourtRoundRank(int round, long serverId, long userId, int courtId, int groupId, long score, String param, int rank, int changeType) {
        this.round = round;
        this.serverId = serverId;
        this.userId = userId;
        this.courtId = courtId;
        this.groupId = groupId;
        this.score = score;
        this.param = param;
        this.rank = rank;
        this.changeType = changeType;
        this.addTime = new Date();
    }

    public int getRound() {
        return round;
    }

    public void setRound(int round) {
        this.round = round;
    }

    public long getServerId() {
        return serverId;
    }

    public void setServerId(long serverId) {
        this.serverId = serverId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getCourtId() {
        return courtId;
    }

    public void setCourtId(int courtId) {
        this.courtId = courtId;
    }

    public int getGroupId() {
        return groupId;
    }

    public void setGroupId(int groupId) {
        this.groupId = groupId;
    }

    public long getScore() {
        return score;
    }

    public void setScore(long score) {
        this.score = score;
    }

    public String getParam() {
        return param;
    }

    public void setParam(String param) {
        this.param = param;
    }

    public int getRank() {
        return rank;
    }

    public void setRank(int rank) {
        this.rank = rank;
    }

    public int getChangeType() {
        return changeType;
    }

    public void setChangeType(int changeType) {
        this.changeType = changeType;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }
}
